namespace YM {
    export function waitTime(millSecond: number) {
        return new Promise<void>((resolve, recject) => {
            setTimeout(() => {
                resolve();
            }, millSecond);
        });
    }
}